Micron Document
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
| SparkN0de-git | SparkN0de |
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------


Commit 825ddd17fedb0efe9f56267fefafe3598bcb4441


Parents : 5d70e2c
Author : Sudo-Ivan <ivan@quad4.io>
Signature : Signature validation error
Date : 2026-01-08T19:27:23-06:00

feat(meshchat): add auto-select option for preferred propagation node

Changes

1 files changed, 7 insertions(+), 0 deletions(-)


Diff

diff --git a/meshchatx/meshchat.py b/meshchatx/meshchat.py
index bad06207..ab5b7926 100644
--- a/meshchatx/meshchat.py
+++ b/meshchatx/meshchat.py
@@ -8756,6 +8756,12 @@ class ReticulumMeshChat:
# update active propagation node
self.set_active_propagation_node(value)
+ if "lxmf_preferred_propagation_node_auto_select" in data:
+ value = self._parse_bool(
+ data["lxmf_preferred_propagation_node_auto_select"],
+ )
+ self.config.lxmf_preferred_propagation_node_auto_select.set(value)
+
# update inbound stamp cost (for direct delivery messages)
if "lxmf_inbound_stamp_cost" in data:
value = int(data["lxmf_inbound_stamp_cost"])
@@ -9903,6 +9909,7 @@ class ReticulumMeshChat:
"lxmf_local_propagation_node_enabled": ctx.config.lxmf_local_propagation_node_enabled.get(),
"lxmf_local_propagation_node_address_hash": ctx.message_router.propagation_destination.hexhash,
"lxmf_preferred_propagation_node_destination_hash": ctx.config.lxmf_preferred_propagation_node_destination_hash.get(),
+ "lxmf_preferred_propagation_node_auto_select": ctx.config.lxmf_preferred_propagation_node_auto_select.get(),
"lxmf_preferred_propagation_node_auto_sync_interval_seconds": ctx.config.lxmf_preferred_propagation_node_auto_sync_interval_seconds.get(),
"lxmf_preferred_propagation_node_last_synced_at": ctx.config.lxmf_preferred_propagation_node_last_synced_at.get(),
"lxmf_user_icon_name": ctx.config.lxmf_user_icon_name.get(),


──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────